package com.itzyf.pokemondata.bean;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 依风听雨
 * @version 创建时间：2019/01/23 14:19
 */
public class DbTeamDo extends LitePalSupport {

    private Long id;
    private String skill1;
    private String skill2;
    private String skill3;
    private String skill4;
    private String feature;
    private String z;
    private String attr;
    private String name;
    private String objectId;
    private String prop;
    private String character;
    private String effor;
    @Column(defaultValue = "0")
    private int no;
    @Column(defaultValue = "0")
    private int sort;

    @Column(ignore = true)
    private List<ResistanceDo> resistanceDoList;

    public DbTeamDo() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSkill1() {
        return skill1;
    }

    public void setSkill1(String skill1) {
        this.skill1 = skill1;
    }

    public String getSkill2() {
        return skill2;
    }

    public void setSkill2(String skill2) {
        this.skill2 = skill2;
    }

    public String getSkill3() {
        return skill3;
    }

    public void setSkill3(String skill3) {
        this.skill3 = skill3;
    }

    public String getSkill4() {
        return skill4;
    }

    public void setSkill4(String skill4) {
        this.skill4 = skill4;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature;
    }

    public String getZ() {
        return z;
    }

    public void setZ(String z) {
        this.z = z;
    }

    public String getAttr() {
        return attr;
    }

    public void setAttr(String attr) {
        this.attr = attr;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getProp() {
        return prop == null ? "" : prop;
    }

    public void setProp(String prop) {
        this.prop = prop;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public List<ResistanceDo> getResistanceDoList() {
        if (resistanceDoList == null) {
            return new ArrayList<>();
        }
        return resistanceDoList;
    }

    public void setResistanceDoList(List<ResistanceDo> resistanceDoList) {
        this.resistanceDoList = resistanceDoList;
    }

    public String getCharacter() {
        return character == null ? "" : character;
    }

    public void setCharacter(String character) {
        this.character = character;
    }

    public String getEffor() {
        return effor == null ? "" : effor;
    }

    public void setEffor(String effor) {
        this.effor = effor;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
